package Extends02;

public class Wolf extends DogAnimals {
    public Wolf(){}
    public Wolf(String name,String color,int age){
        super(name, color, age);
    }

    /**
     * 抓羊
     */
    public void arrest(){
        System.out.println("那只叫"+this.getName()+"的"+this.getColor()+"狼正在抓小羊🐏");
    }
}
